/**
 * output package name
 */
package com.kingdee.eas.hr.train;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TrainAddressEnum extends StringEnum
{
    public static final String DALIANAREA_VALUE = "1";
    public static final String NOTDALIANAREA_VALUE = "2";

    public static final TrainAddressEnum DALIANAREA = new TrainAddressEnum("DALIANAREA", DALIANAREA_VALUE);
    public static final TrainAddressEnum NOTDALIANAREA = new TrainAddressEnum("NOTDALIANAREA", NOTDALIANAREA_VALUE);

    /**
     * construct function
     * @param String trainAddressEnum
     */
    private TrainAddressEnum(String name, String trainAddressEnum)
    {
        super(name, trainAddressEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TrainAddressEnum getEnum(String trainAddressEnum)
    {
        return (TrainAddressEnum)getEnum(TrainAddressEnum.class, trainAddressEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TrainAddressEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TrainAddressEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TrainAddressEnum.class);
    }
}